


<div class="page has-sidebar-left height-full">
    <header class="blue accent-3 relative nav-sticky">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-medal9"></i>
                        {$app_name}
                    </h4>
                </div>
            </div>
            <div class="row">
                <ul class="nav responsive-tab nav-material nav-material-white" id="v-pills-tab">
                    <li>
                        <a class="nav-link active" id="v-pills-1-tab" data-toggle="pill" href="#v-pills-1">
                            <i class="icon icon-barometer"></i>仪表盘</a>
                    </li>
                  
                </ul>
              
              <!--右侧
                <a class="btn-fab fab-right btn-primary" data-toggle="control-sidebar">
                    <i class="icon icon-menu"></i>
                </a>
              -->
              
            </div>
        </div>
    </header>
  
  
  
    <div class="container-fluid relative animatedParent animateOnce">
      
      
      
        <div class="tab-content pb-3" id="v-pills-tabContent">
          
         
          
            <!--Today Tab Start-->
            <div class="tab-pane animated fadeInUpShort show active go" id="v-pills-1">
              
              
              
        <div class="card my-3 shadow b-0">
            <div class="row no-gutters">
 
                <div class="col-md-12 col-sm-12 white">
                    <div class="">
                        <div class="card-body  chat-widget p-3" >
                            <div class="w-body w-scroll ">
                                <ul class="list-unstyled">
                                 
                                  
               					  <?php $name  =  db('user')->where('id',session('user'))->value('username');  if(session('user')=='1'&& $name=='admin'){?>                  
                                    <li class="by-me">
                                        <div class="avatar float-left">
                                            <b class="c-idle"></b>
                                            <img src=""  class="img-responsive">
                                        </div>
                                        <div class="chat-content">
                                            <div class="chat-meta"><i class="icon-beenhere text-light-blue"></i> <span style="color: #03a9f4;"> <script> document.write("\u0020\u5b8c\u7f8e\u7f51\u670d\u0020") </script></span><script> document.write("\u0020\u53cb\u60c5\u63d0\u793a\uff1a") </script>
                                                <span class="float-right"> <script> document.write("\u0052\u0079\u0061\u006e") </script></span>
                                            </div>
                                           <div class="chat-meta">
                                            <script> document.write("\u8d85\u7ea7\u7ba1\u7406\u5458\u8d26\u6237\u4e3a\u9ed8\u8ba4\u503c") </script>  <a href="<?php echo url('admin/index'); ?>" class="badge badge-Warning" ><script> document.write("\u0061\u0064\u006d\u0069\u006e") </script></a> <script> document.write("\u0020\u5b58\u5728\u5b89\u5168\u98ce\u9669\u002c\u8bf7\u53ca\u65f6\u4fee\u6539\u0020\u0021\u0020") </script> .
                                          </div>
                                          <div class="clearfix"></div>
                                        </div>
                                    </li>
           						  <?php } ?>

             				 <?php $agencynotice	=	db('advert')->where('id',44)->value('content');   if($agencynotice != ''){?>   
                                    <li class="by-me">
                                        <div class="avatar float-left">
                                            <b class="c-on"></b>
                                          <span  class="btn-fab btn-fab-sm btn-Danger shadow1" style=" text-align:center; ">
                                            <i class="icon-child_care s-18" ></i>
                                        </span>   
                                          
                                      </div>
            
                                        <div class="chat-content">
                                            <div class="chat-meta">系统提示：
                                                <span class="float-right">System</span>
                                            </div>
                                          <div class="chat-meta">
                                           {:advert(44)}
                                          </div>
                                            <div class="clearfix"></div>
                                        </div>
                                    </li>
            
 							 <?php }else{ ?>
                                  
                                       <li class="by-me">
                                        <div class="avatar float-left">
                                            <b class="c-on"></b>
                                          <span  class="btn-fab btn-fab-sm btn-Success shadow1" style=" text-align:center; ">
                                            <i class="icon-check_circle s-18" ></i>
                                        </span>   
                                          
                                      </div>
            
                                        <div class="chat-content">
                       
                                          <div class="chat-meta">
                                            暂无待办事项 祝君<span  id="logInfo">2019</span>日进斗金! 
                                          </div>
                                            <div class="clearfix"></div>
                                        </div>
                                    </li>

 							<?php } ?>
                                </ul>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
              
              
              

              
               
                <div class="row my-3">
                    <div class="col-md-3">
                        <div class="counter-box white r-5 p-3">
                          <span class="badge text-light-blue r-30 float-right"><i class="icon-database"></i></span>
                            <div class="p-4">
                                <div class="float-right">
                                    <span class="icon icon-mail-envelope2 text-light-blue s-48"></span>
                                </div>
                                <div class="counter-title" >我的用户</div>
                                <h5 class="sc-counter mt-3 " >{$user_count}</h5>
                            </div>
                        </div>
                    </div>
                
                  <div class="col-md-3">
                        <div class="counter-box white r-5 p-3">
                          <span class="badge text-light-blue r-30 float-right"><i class="icon-database"></i></span>
                            <div class="p-4">
                                <div class="float-right">
                                    <span class="icon icon-medal4 text-light-blue s-48"></span>
                                </div>
                                <div class="counter-title">我的代理</div>
                                <h5 class="sc-counter mt-3 " >{$agent_count}</h5>
                            </div>
                        </div>
                    </div>
                

                    <div class="col-md-3">
                        <div class="counter-box white r-5 p-3">
                          <span class="badge text-light-blue r-30 float-right"><i class="icon-database"></i></span>
                            <div class="p-4">
                                <div class="float-right">
                                    <span class="icon icon-certificate2 text-light-blue s-48"></span>
                                </div>
                                <div class="counter-title"> 激活码( 总/已用/有效 )</div>
                                <h5 class=" mt-3 " ><span class="sc-counter  " >{$all_Activation_code}</span> / <span class="sc-counter " >{$yy_Activation_code}</span>  / <span class="sc-counter " >{$wy_Activation_code}</span> </h5>
                            </div>

                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="counter-box white r-5 p-3">
                          <span class="badge text-light-blue r-30 float-right"><i class="icon-database"></i></span>
                            <div class="p-4">
                                <div class="float-right">
                                    <span class="icon icon-award s-48"></span>
                                </div>
                                <div class="counter-title">我的余额</div>
                                <h5 class=" mt-3 " >¥ <span class="sc-counter " >{$money}</span> </h5>
                            </div>

                        </div>
                    </div>
                </div>

              

      
            </div>
            <!--Today Tab End-->
       
        </div>
    </div>
</div>


